$(
    function(){
        console.log("已准备");
        $(".btnReturn").click(function(){
            window.location.href='/Product/index';
        })
        $(".btnAdd").click(function(){
            window.location.href='/Product/createoredit';
        })
        $('.btnSel').click(function(){

        })
        $(('.btnSave').click(function(){

        }))
    }
)
function btnUp(id){
    window.location.href=`/Product/createoredit/${id}`
}
function btnDel(id){
    if (confirm("是否删除")) {
        window.location.href=`/Product/Delete/${id}`
    }
}